package hy;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@CrossOrigin
@Controller
public class HelloCtrl {

    @RequestMapping("/hello")
    @ResponseBody
    public String hell(){
        return "这是我的springBoot";
    }
}
